package com.ym.soso.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.base.domain.LngLatBean;
import com.ym.base.enums.FlagEnum;
import com.ym.soso.enums.CategoryEnum;
import com.ym.soso.enums.PropertyEnum;
import com.ym.soso.enums.SpecServiceEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 养老对象 pension_info
 *
 * @author ym
 * @date 2020-04-02
 */
@ApiModel("养老-列表")
@Data
public class PensionInfoSimVO extends LngLatBean implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("编码")
    private String theCode;

    @ApiModelProperty("名称")
    private String theName;

    @ApiModelProperty("介绍")
    private String introduction;

    @ApiModelProperty("icon图")
    private String icon;

    @ApiModelProperty("营业时间")
    private String busTime;

    @ApiModelProperty("医生坐症")
    @JsonSerialize(converter = FlagEnum.Covert.class)
    private String hasDoc;

    @ApiModelProperty("区域")
    private String area;

    @ApiModelProperty("省份")
    private String prov;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("国内排名")
    private Integer landRank;

    @ApiModelProperty("区域排名")
    private Integer areaRank;

    @ApiModelProperty("省排名")
    private Integer provRank;

    @ApiModelProperty("市级排名")
    private Integer cityRank;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("联系电话")
    private String linkPhone;

    @ApiModelProperty("服务项目")
    private String serviceItem;

    @ApiModelProperty("收费标准")
    private String rates;

    @ApiModelProperty("院内设施")
    private String facility;

    @ApiModelProperty("入住须知")
    private String roomNotes;

    @ApiModelProperty("标签")
    private String tags;

    @ApiModelProperty("当前登录人是否收藏")
    private boolean colectFlag = true;

    @ApiModelProperty("收费下限")
    private Double chargeFloor;

    @ApiModelProperty("收费上限")
    private Double chargeUpper;

    @ApiModelProperty("占地面积")
    private String floorSpace;

    @ApiModelProperty("建筑面积")
    private String buildSpace;

    @ApiModelProperty("成立时间")
    private String setUpTime;

    @ApiModelProperty("床位数")
    private Integer bedNum;

    /**
     * 机构性质(01-公办 02-民办)
     */
    @ApiModelProperty("机构性质(01-公办 02-民办)")
    @JsonSerialize(converter = PropertyEnum.Covert.class)
    private String property;

    /**
     * 机构类别(01-敬老院 02-老年公寓 03-福利院 04-疗养院 05-养老社区 06-居家养老 07-养老照料 08-护理院)
     */
    @ApiModelProperty("机构类别(01-敬老院 02-老年公寓 03-福利院 04-疗养院 05-养老社区 06-居家养老 07-养老照料 08-护理院)")
    @JsonSerialize(converter = CategoryEnum.Covert.class)
    private String category;

    /**
     * 特色服务(01-医保定点 02-候鸟旅居 03-异地收住 04-认证优先 05-品牌连锁 06-试住体验)
     */
    @ApiModelProperty("特色服务(01-医保定点 02-候鸟旅居 03-异地收住 04-认证优先 05-品牌连锁 06-试住体验)")
    @JsonSerialize(converter = SpecServiceEnum.Covert.class)
    private String specService;

    /**
     * 收住对象(01-自理 02-半自理)
     */
    @ApiModelProperty("收住对象(01-自理 02-半自理)")
    private String admittedType;



}
